Repository navigation
gcsweb-test-platform-results: scoped bearer reads for nvidia-ci - #85720
Conversation
This oauth-proxy sets neither -openshift-sar nor -openshift-delegate-urls, and the OpenShift provider only honours `Authorization: Bearer` when delegate-urls is set, so rh-ecosystem-edge/nvidia-ci's dashboards get the login page instead of the four small artifacts they read per build. Add a delegate-urls entry gated on a review against an empty capability configmap, bound to the ServiceAccount from openshift#85691 and to the team's group. It points at gs://test-platform-results/curated/, a filtered copy of just those artifacts, because delegate-urls scopes by prefix only and the raw pr-logs prefix would expose every build log under it; no -openshift-sar, which would gate the browser flow too and lock out today's interactive users. Signed-off-by: Jakub Guzik <jguzik@redhat.com>
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughAdds ConfigMap-based access authorization for a curated NVIDIA CI artifact path. A Role and RoleBinding grant access to the ConfigMap, and the OAuth proxy delegates requests for that path through it. ChangesNVIDIA CI artifact access
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Merge Risk: ⚪ Minimal · up to This change lets the nvidia-ci team group and one bot ServiceAccount read only the curated nvidia-ci artifact path using bearer tokens. The existing browser login flow is unchanged. The proxy's service account already has the permissions it needs to validate these tokens. No merge-blocking risk was identified. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@jmguzik: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmguzik, Prucek The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This oauth-proxy sets neither -openshift-sar nor -openshift-delegate-urls, and the OpenShift provider only honours
Authorization: Bearerwhen delegate-urls is set, so rh-ecosystem-edge/nvidia-ci's dashboards get the login page instead of the four small artifacts they read per build. Add a delegate-urls entry gated on a review against an empty capability configmap, bound to the ServiceAccount from #85691 and to the team's group. It points at gs://test-platform-results/curated/, a filtered copy of just those artifacts, because delegate-urls scopes by prefix only and the raw pr-logs prefix would expose every build log under it; no -openshift-sar, which would gate the browser flow too and lock out today's interactive users.Summary by CodeRabbit
rh-ecosystem-edge/nvidia-cibuild artifacts in OpenShift CI.gs://test-platform-results/curated/pr-logs/pull/rh-ecosystem-edge_nvidia-ci/when the requester cangetthenvidia-ci-artifact-accessConfigMap in namespaceci.rh-ecosystem-nvidiagroup and itsperiodic-job-botServiceAccount. The ConfigMap acts as an authorization resource; it contains no artifact data.